package com.example.mobile2021606145zbq0617homework;

public class Person {
    private String name;
    private String vocation;
    private int salary;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getVocation() {
        return vocation;
    }

    public void setVocation(String vocation) {
        this.vocation = vocation;
    }

    public int getSalary() {
        return salary;
    }

    public void setSalary(int salary) {
        this.salary = salary;
    }

    public Person(String name, String vocation, int salary) {
        this.name = name;
        this.vocation = vocation;
        this.salary = salary;
    }
}
